<form id="pagerForm" method="post" action="{:url('Customer/CsdList')}">
    <input type="hidden" name="pageNum" value="{$page|default=''}"/>
    <input type="hidden" name="numPerPage" value="{$page_size|default=''}"/>
    <input type="hidden" name="start_time" value="{$start_time|default=''}"/>
    <input type="hidden" name="end_time" value="{$end_time|default=''}"/>
    <input type="hidden" name="license_number" value="{$license_number|default=''}"/>
    <input type="hidden" name="order_sn" value="{$order_sn|default=''}"/>
    <input type="hidden" name="license_type" value="{$license_type|default=''}">
    <input type="hidden" name="mobile" value="{$mobile}"/>
    <input type="hidden" name="user_name" value="{$user_name}"/>
</form>

<div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" action="{:url('Customer/CsdList')}" method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <td>车辆类型:</td>
                    <td>
                        <select class="combox" name="license_type">
                            <option value="" {if condition="$license_type eq ''"}selected="selected"{/if}>全部</option>
                            {volist name="vehicle" id="item"}
                            <option value="{$item.id}" {if condition="$license_type eq $item.id"}selected="selected"{/if}>{$item.title}</option>
                            {/volist}
                        </select>
                    </td>
                    <td>车辆号牌：</td>
                    <td><input name="license_number" size="25" type="text" value="{$license_number}"/></td>
                    <td>姓名:</td>
                    <td><input name="user_name" size="25" type="text" value="{$user_name}"/></td>
                    <td>联系电话:</td>
                    <td><input name="mobile" size="25" type="text" value="{$mobile}"/></td>
                </tr>
            </table>
            <div class="subBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">检索</button>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </form>
</div>
<div class="pageContent">
    <!--<div class="panelBar">
        <ul class="toolBar">
            <li><a rel="" class="add" href="{:url('Customer/cadd')}" target="dialog" width="750"
                   height="466" title="客户信息添加"><span>添加</span></a></li>
            <li><a rel="" class="edit" href="{:url('Customer/cedit')}?order_id={order_id}" target="dialog"
                   width="530" height="430" title="客户信息修改"><span>修改</span></a></li>
            <li><a class="delete" href="{:url('Customer/cdel')}?order_id={order_id}" target="ajaxTodo"
                   title="确定要删除吗？"><span>删除</span></a>
            </li>
        </ul>
    </div>-->
    <table class="table" width="100%" layoutH="108">
        <thead>
            <tr>
                <th width="6%">姓名</th>
                <th width="8%">联系电话</th>
                <th width="8%">号牌号码</th>
                <th width="10%">品牌型号</th>
                <th width="12%">车辆识别代号</th>
                <th width="8%">车辆类型</th>
                <th width="8%">使用性质</th>
                <th width="8%">发证日期</th>
                <th width="8%">注册日期</th>
                <th width="10%">上次检车时间</th>
                <th width="10%">操作</th>
            </tr>
        </thead>
        <tbody>
            {volist name="list" id="val" key="i"}
            <tr>
                <td width="6%">{$val.user_name}</td>
                <td width="8%">{$val.mobile}</td>
                <td width="8%">{$val.license_number}</td>
                <td width="10%">{$val.vehicle_brand}</td>
                <td width="12%">{$val.vehicle_identification}</td>
                <td width="8%">{$val.license_type|get_license_type}</td>
                <td width="8%">{$val.license_nature}</td>
                <td width="8%">{$val.license_grant_date}</td>
                <td width="8%">{$val.license_register_date}</td>
                <td width="10%">{$val.update_time|date="Y-m-d",###}</td>
                <td width="10%" class="oper">
                    <a rel="order_see" class="adeditd" href="{:url('Customer/custOne')}?id={$val.id}"  title="微信账户" mask="true" style="color:#000;" target="dialog"
                   width="530" height="450">微信账户</a>
                     <a rel="cus_order_list" class="adeditd" href="{:url('Customer/orderList')}?vehicle_identification={$val.vehicle_identification}" target='navTab' title="客户订单信息" mask="true" style="color:#000;">订单信息</a>
                </td>
            </tr>
            {/volist}
        </tbody>
    </table>
    <div class="panelBar">
        <div class="pages">
            <span>共{$count}条</span>
        </div>
        <div class="pagination" targetType="navTab" totalCount="{$count}" numPerPage="{$numPerPage}" pageNumShown="10"
        currentPage="{$pageNum}"></div>
    </div>
</div>